# from extensions import db
from .index import index_bp
from flask import Flask
from .passport import passport_bp
from .article import article_bp
from .mine import my_bp
from .admin import admin_bp
from .about import about_bp
from .mixed_pic import mixed_pic_bp
from .timeline import timeline_bp


def register_blueprint(app: Flask):
    app.register_blueprint(index_bp)
    app.register_blueprint(passport_bp)
    app.register_blueprint(article_bp)
    app.register_blueprint(my_bp)
    app.register_blueprint(admin_bp)
    app.register_blueprint(about_bp)
    app.register_blueprint(mixed_pic_bp)
    app.register_blueprint(timeline_bp)
